package com.esper.simple.esperc;

import com.alibaba.fastjson.JSON;
import com.espertech.esper.client.EventBean;
import com.espertech.esper.client.UpdateListener;

/**
 * Created by yanghonglei on 2016/12/6.
 */
public class PersonListener implements UpdateListener {

    public void update(EventBean[] newEvents, EventBean[] oldEvents) {
        System.out.println("Listener_update:  " + JSON.toJSONString(newEvents));
    }
}
